#ifndef BCMENU_H
#define BCMENU_H

#include <QWidget>
#include <QItemSelection>
#include <QStandardItem>
#include <QModelIndex>

namespace Ui {
class bcMenu;
}

class bcMenu : public QWidget
{
    Q_OBJECT

public:
    explicit bcMenu(QWidget *parent = 0);
    ~bcMenu();

private:
    Ui::bcMenu *ui;
    QStandardItemModel *standardModel;
    QItemSelectionModel *selectionModel;

    void writeSettings();
    void readSettings();

private slots:
    void wybralemMenu(const QModelIndex &index);

signals:
    void menuClick(const QString text);
};

#endif // BCMENU_H
